﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._sujiahao
{
    /// <summary>
    /// 调拨转移单行表
    /// </summary>
    public class WmTransferLine : Entity<int>
    {

            /// <summary>
            /// 转移单ID
            /// </summary>
            public long? TransferId { get; set; }

            /// <summary>
            /// 库存记录ID
            /// </summary>
            public long? MaterialStockId { get; set; }

            /// <summary>
            /// 产品ID
            /// </summary>
            public long? ItemId { get; set; }

            /// <summary>
            /// 产品编码
            /// 最大长度：64
            /// </summary>
            public string? ItemCode { get; set; }

            /// <summary>
            /// 产品名称
            /// 最大长度：255
            /// </summary>
            public string? ItemName { get; set; }

            /// <summary>
            /// 规格
            /// 最大长度：500
            /// </summary>
            public string? Specification { get; set; }

            /// <summary>
            /// 单位
            /// 最大长度：64
            /// </summary>
            public string? UnitOfMeasure { get; set; }

            /// <summary>
            /// 数量
            /// 精度：12, 小数位数：2
            /// </summary>
            public double? QuantityTransfer { get; set; }

            /// <summary>
            /// 生产工单ID
            /// </summary>
            public long? WorkorderId { get; set; }

            /// <summary>
            /// 工单编号
            /// 最大长度：64
            /// </summary>
            public string? WorkorderCode { get; set; }

            /// <summary>
            /// 批次号
            /// 最大长度：255
            /// </summary>
            public string? BatchCode { get; set; }

            /// <summary>
            /// 移出仓库ID
            /// </summary>
            public long? FromWarehouseId { get; set; }

            /// <summary>
            /// 移出仓库编号
            /// 最大长度：64
            /// </summary>
            public string? FromWarehouseCode { get; set; }

            /// <summary>
            /// 移出仓库名称
            /// 最大长度：255
            /// </summary>
            public string? FromWarehouseName { get; set; }

            /// <summary>
            /// 移出库区ID
            /// </summary>
            public long? FromLocationId { get; set; }

            /// <summary>
            /// 移出库区编号
            /// 最大长度：64
            /// </summary>
            public string? FromLocationCode { get; set; }

            /// <summary>
            /// 移出库区名称
            /// 最大长度：255
            /// </summary>
            public string? FromLocationName { get; set; }

            /// <summary>
            /// 移出库位ID
            /// </summary>
            public long? FromAreaId { get; set; }

            /// <summary>
            /// 移出库位编号
            /// 最大长度：64
            /// </summary>
            public string? FromAreaCode { get; set; }

            /// <summary>
            /// 移出库位名称
            /// 最大长度：255
            /// </summary>
            public string? FromAreaName { get; set; }

            /// <summary>
            /// 移入仓库ID
            /// </summary>
            public long? ToWarehouseId { get; set; }

            /// <summary>
            /// 移入仓库编号
            /// 最大长度：64
            /// </summary>
            public string? ToWarehouseCode { get; set; }

            /// <summary>
            /// 移入仓库名称
            /// 最大长度：255
            /// </summary>
            public string? ToWarehouseName { get; set; }

            /// <summary>
            /// 移入库区ID
            /// </summary>
            public long? ToLocationId { get; set; }

            /// <summary>
            /// 移入库区编号
            /// 最大长度：64
            /// </summary>
            public string? ToLocationCode { get; set; }

            /// <summary>
            /// 移入库区名称
            /// 最大长度：255
            /// </summary>
            public string? ToLocationName { get; set; }

            /// <summary>
            /// 移入库位ID
            /// </summary>
            public long? ToAreaId { get; set; }

            /// <summary>
            /// 移入库位编号
            /// 最大长度：64
            /// </summary>
            public string? ToAreaCode { get; set; }

            /// <summary>
            /// 移入库位名称
            /// 最大长度：255
            /// </summary>
            public string? ToAreaName { get; set; }

            /// <summary>
            /// 到期日期
            /// </summary>
            public DateTime? ExpireDate { get; set; }

            /// <summary>
            /// 供应商ID
            /// </summary>
            public long? VendorId { get; set; }

            /// <summary>
            /// 供应商编码
            /// 最大长度：64
            /// </summary>
            public string? VendorCode { get; set; }

            /// <summary>
            /// 供应商名称
            /// 最大长度：255
            /// </summary>
            public string? VendorName { get; set; }

            /// <summary>
            /// 供应商简称
            /// 最大长度：255
            /// </summary>
            public string? VendorNick { get; set; }

            /// <summary>
            /// 备注
            /// 最大长度：500
            /// </summary>
            public string? Remark { get; set; }

            /// <summary>
            /// 创建人
            /// 最大长度：64
            /// </summary>
            public string? CreateBy { get; set; }

            /// <summary>
            /// 创建时间
            /// </summary>
            public DateTime? CreateTime { get; set; }

            /// <summary>
            /// 更新人
            /// 最大长度：64
            /// </summary>
            public string? UpdateBy { get; set; }

            /// <summary>
            /// 更新时间
            /// </summary>
            public DateTime? UpdateTime { get; set; }
        }
}
